<ion-view view-title="{{title}}">
  <ion-nav-buttons side="right">
    <button class="button button-icon icon ion-compose" ng-click="showNewTopicModal()" ng-disabled="loginName == null"></button>
  </ion-nav-buttons>
  <ion-content class="has-header">

    
    <ion-list class="topics">
      <ion-item class="item-avatar"
        collection-repeat="topic in topics"
        collection-item-width="'100%'"
        collection-item-height="73"
        href="#/topic{{topic.href}}">
        
        <h2>{{topic.text}}</h2>
          <span class="item-note ago">
          {{topic.date}}
          </span>
      </ion-item>
    </ion-list>
    <!--
      Loading icon of infinte-scroll not showing with collection-repeat
      https://github.com/driftyco/ionic/issues/2376
    -->
   
  </ion-content>
</ion-view>
